package com.maiji.cloud.entities.login;

import com.baomidou.mybatisplus.annotations.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 *  app中的轮播图
 */
@NoArgsConstructor
@Data
@Accessors(chain=true)
@Table(name = "app_carousel")
public class AppCarousel {

    @TableId
    @Column(name = "uu_id", type = MySqlTypeConstant.VARCHAR, length = 50, isKey = true)
    private String uuId;

    @Column(name = "name", type = MySqlTypeConstant.VARCHAR, length = 50, isUnique = true)
    private String name;

}
